home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941031-19941221 / 000201_news@columbia.edu_Sun Nov 20 10:40:15 1994.msg < prev    next >
Internet Message Format  |  2020-01-01  |  11KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19191
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 20 Nov 1994 18:49:51 -0500
  3. Received: by apakabar.cc.columbia.edu id AA27316
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 20 Nov 1994 18:49:49 -0500
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Help needed with Hebrew Kermit
  9. Message-Id: <1994Nov20.164015.33381@cc.usu.edu>
  10. Date: 20 Nov 94 16:40:15 MDT
  11. References: <3aoh8b$hhn@crl5.crl.com>
  12. Organization: Utah State University
  13. Lines: 735
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3aoh8b$hhn@crl5.crl.com>, nmiller@crl.com (Norman Miller) writes:
  17. > Has anyone successfully installed Hebrew Kermit?  I can get Hebrew
  18. > characters on screen but only left-to-right.  The documentation I got was
  19. > not very helpful.  It doesn't explain, for instance, the connection between
  20. > Kermit and HED (a nice little editor).  It doesn't explain _anything_ when
  21. > you get right down to it.
  22. ------------
  23.     We need to understand precisely what you mean by "Hebrew Kermit."
  24. MS-DOS Kermit is the vehicle delivering Kermit for Hebrew users of DOS
  25. machines, and it works well that way. The user's manual, the book "Using
  26. MS-DOS Kermit", discusses ways of using MSK with Hebrew hosts. The only
  27. Kermit command which is specialized for this purpose is SET TERMINAL
  28. DIRECTION (LEFT-TO-RIGHT, RIGHT-TO-LEFT); the rest is built upon regular
  29. Kermit features.
  30.     You did not mention which version of Kermit you are using, which
  31. would have been helpful. May I suggest you look at the preliminary
  32. documentation for the beta MSK 3.14, file mstibm.zip in directory kermit/test
  33. on kermit.columbia.edu. See the Hebrew subdirectory after you unpack
  34. the file. Btw, "beta" means things change before release.
  35.     I'm afraid that we can't help with HED since that's outside of
  36. Kermit. Perhaps the attachment below has enough information to help.
  37.     For quick general reference I'm going to bloat News with file 
  38. Hebrew.doc from the archive. Hopefully it will help others get started too.
  39.     Joe D.
  40. --------------
  41. USING MS-DOS KERMIT TO DISPLAY, ENTER, AND TRANSFER HEBREW TEXT
  42.  
  43.     Frank da Cruz
  44.     Academic Information Systems
  45.     Columbia University
  46.     E-Mail: fdc@columbia.edu
  47.     April-October, 1994
  48.  
  49. Beginning with version 3.13 (July 1993), MS-DOS Kermit includes full support
  50. for Hebrew text, including Hebrew terminal emulation for mixing Hebrew and
  51. Roman characters when using host-based Hebrew software, and translation of
  52. Hebrew character sets during file transfer.  Earlier MS-DOS Kermit releases do
  53. not include Hebrew features.
  54.  
  55. This document assumes some familiarity with DOS and with MS-DOS Kermit.
  56. References are listed at the end.
  57.  
  58.     This document explains how to use MS-DOS Kermit in Hebrew mode for
  59.     interacting with other computers.  It does not address questions
  60.     of Hebrew text processing within the PC environment itself.
  61.  
  62. WARNING: As of this writing, I have not been able to find a way to make the
  63. techniques described in this document work in a Microsoft Windows window.  Even
  64. though Kermit itself works perfectly in a window, Windows does not allow the
  65. Hebrew font to be loaded.  Reportedly, Windows 3.1 ML (Multi-Lingual) supports
  66. Hebrew, but perhaps not in a way that can be used by Kermit.  Thus, to use
  67. Kermit's Hebrew features, you must run Kermit in DOS, or in a Windows
  68. fullscreen session, but not in a window.
  69.  
  70. BACKGROUND: HEBREW CHARACTER SETS
  71.  
  72. There are several coded character sets that contain the Hebrew alphabet.  Each
  73. of these sets uses a different encoding, and therefore they are all mutually
  74. incompatible.  To interchange Hebrew text between two computers that use
  75. different encodings, conversions must be done.  Kermit software makes these
  76. conversions for you.  The character sets are:
  77.  
  78. ASCII - The American National Standard Code for Information Interchange.
  79.   This is a 7-bit character set, incorporating 128 characters, of which 95 are
  80.   "graphic" (printable) characters, and 17 are control characters such as
  81.   carriage return, linefeed, etc.  It contains no Hebrew, but it is the basis
  82.   for all the other character sets discussed here, unless noted otherwise.  It
  83.   includes uppercase and lowercase Roman letters A-Z, digits 0-9, space, and
  84.   various punctuation marks.
  85.  
  86. ISO 8859-8 - The Latin/Hebrew Alphabet.
  87.   The international standard character set for Hebrew, adopted by the
  88.   International Organization for Standardization (ISO), of which Israel is a
  89.   member body.  It is an 8-bit character set, incorporating 256 characters, of
  90.   which 137 are graphic characters, 65 are control characters, and 22 are
  91.   undefined.  It includes ASCII, some additional punctuation, math, and
  92.   currency symbols, plus the 22 Hebrew letters and 5 final forms.
  93.  
  94. IBM PC Code Page 862.
  95.   Similar to Latin/Hebrew, but including many additional characters (line and
  96.   box drawing, accented Roman letters, etc), and using different encoding.
  97.   Used only on PCs.
  98.  
  99. IBM Mainframe Code Page 424.
  100.   An 8-bit mainframe code, totally incompatible with ASCII and everything
  101.   else, which contains approximately the same repertoire as Latin/Hebrew.
  102.  
  103. DEC Hebrew (or "Hebrew-7").
  104.   A 7-bit character set, equivalent to ASCII, but with the lowercase Roman
  105.   letters replaced by Hebrew letters.  Used to trick 7-bit applications and
  106.   communication methods into handling Hebrew characters.
  107.  
  108. ADDING HEBREW FEATURES TO KERMIT
  109.  
  110. To use MS-DOS Kermit's Hebrew terminal emulation features, you must first load
  111. a Hebrew code page into your PC.  "Code page" is IBM's term for "font" or
  112. "character set".  An EGA, VGA, or compatible video system that permits text
  113. fonts to be loaded is required.
  114.  
  115. The Kermit diskette contains a public-domain Hebrew code page (and several
  116. others) and public-domain utilities for loading and displaying code pages,
  117. compiled and/or created by Professor Joseph (Yossi) Gil at the Technion, plus
  118. additional material created at Columbia University: the Hebrew setups and key
  119. mappings for Kermit, various character set tables, documentation, etc.
  120.  
  121. Here is a brief synopsis of the files in the Kermit HEBREW directory:
  122.  
  123.    HEBREW.DOC   - This file
  124.    HEBREW.INI   - Hebrew initialization file for Kermit
  125.    HEBREW.HLP   - Documentation for HEBREW.INI
  126.    CP862.TBL    - IBM PC Hebrew code page table
  127.    ISO88598.TBL - ISO 8859-8 Latin/Hebrew alphabet table
  128.    HEBREW-7.TBL - Hebrew-7 table   
  129.  
  130. And these are in the Kermit PCFONTS directory:
  131.  
  132.    LOADFONT.COM - Program for changing PC code page (font)
  133.    LOADFONT.HLP - Help text for LOADFONT
  134.    CHARSET.COM  - Program to display current code page (font)
  135.  
  136.    CP437.F16    - USA code page
  137.    CP850.F16    - Multinational (i.e. Western Europe) code page
  138.    CP852.F16    - Eastern Europe code page
  139.    CP862.F16    - Hebrew code page
  140.    CP866.F16    - Cyrillic code page
  141.  
  142. The CPxxx.F16 files are to be used with LOADFONT.  For example, to load
  143. the Hebrew code page, type the following command at the DOS prompt:
  144.  
  145.   C:\> cd c:\kermit\pcfonts
  146.        ^^^^^^^^^^^^^^^^^^^^
  147.   C:\> loadfont cp862.f16
  148.        ^^^^^^^^^^^^^^^^^^
  149. The CP862.TBL file will look right when you have CP862 loaded (for example,
  150. when you TYPE it, EDIT it, etc).  The other .TBL files are there for reference
  151. and practice.
  152.  
  153. USING KERMIT'S HEBREW FEATURES
  154.  
  155. After you start Kermit, type the command:
  156.  
  157.   HEBREW
  158.  
  159. at the "MS-Kermit>" prompt.  "HEBREW" is a macro, defined in MSKERMIT.INI, that
  160. executes the HEBREW.INI file from the KERMIT\HEBREW directory.  HEBREW.INI sets
  161. everything up for you automatically.  If you always want to have the Hebrew
  162. features available when you use Kermit, use a text editor to add the HEBREW
  163. command to your MSCUSTOM.INI file, and then you won't have to type this command
  164. at all.
  165.  
  166. The HEBREW.INI file:
  167.  
  168.   1. Activates ISO 8859-8 / CP862 character-set translations.
  169.   2. Adds commands to let you change code pages easily.
  170.   3. Loads the Hebrew code page.
  171.   4. Defines the key maps for Hebrew and English keyboard modes.
  172.   5. Sets up commands and hot keys for switching keyboard modes.
  173.   6. Sets up hot keys for switching screen-writing direction.
  174.  
  175. The initial keyboard mode is English.
  176.  
  177. The Hebrew font remains loaded after you exit from Kermit, unless you load
  178. another font yourself.
  179.  
  180. After Kermit has executed the HEBREW.INI command file, the following new
  181. commands are available at at the "MS-Kermit>" prompt:
  182.  
  183.   HKEYS   Enter Hebrew keyboard mode upon next CONNECT command.
  184.   EKEYS   Enter English keyboard mode upon next CONNECT command.
  185.   HFONT   Load the Hebrew font (done automatically when you TAKE HEBREW.INI)
  186.   EFONT   Load the US font (CP437)
  187.   MFONT   Load the Multinational (West European) font (CP850) 
  188.     
  189. And the following function keys are available during terminal emulation
  190. (CONNECT mode):
  191.  
  192.   F5      "Hot key" to enter Hebrew keyboard mode immediately.
  193.   F6      Hot key to enter English keyboard mode immediately.
  194.   F7      Equivalent to DEC VT terminal's F7 key (for use with JTSA catalog).
  195.   F9      Select right-to-left screen writing.
  196.   F10     Select left-to-right screen writing.
  197.  
  198. USING MS-DOS KERMIT FOR HEBREW TERMINAL EMULATION
  199.  
  200. The HEBREW.INI file sets Kermit up for an 8-bit connection to hosts and
  201. applications that use the 8-bit ISO Latin/Hebrew character set.  This is the
  202. the international standard Hebrew character set, and the one used by most
  203. host-based applications, such as the ALEPH Hebrew library software.  But it is
  204. not the same as the PC Hebrew code page, so Kermit must translate between the
  205. two.
  206.  
  207. There are at least two other possibilities, which you must consider if you
  208. access a Hebrew application through Kermit, but the characters look wrong:
  209.  
  210.  . On 7-bit connections, "Hebrew-7" -- a 7-bit character set in which the
  211.    lowercase Roman letters are replaced by Hebrew letters -- is generally
  212.    used.  Hebrew-7 codes are different from Latin/Hebrew and also from CP862.
  213.    Hebrew-7 is commonly used in e-mail, in which it is difficult or impossible
  214.    to transmit 8-bit text.  To use Hebrew-7:
  215.  
  216.      SET TERMINAL CHARACTER-SET HEBREW-7
  217.      SET TERMINAL BYTESIZE 7
  218.   
  219.  . It is possible that some Israeli BBSs use Code Page 862.  In this case,
  220.    tell Kermit not to translate.
  221.  
  222.      SET TERMINAL CHARACTER-SET TRANSPARENT
  223.      SET TERMINAL BYTESIZE 8
  224.    
  225.  . For completeness, here are the commands to use ISO Latin/Hebrew:
  226.  
  227.      SET TERMINAL CHARACTER-SET HEBREW-ISO
  228.      SET TERMINAL BYTESIZE 8
  229.  
  230. Before accessing the host or service, you must also choose the appropriate type
  231. of terminal emulation, one of the following (use the highest model that works):
  232.  
  233.   SET TERMINAL TYPE VT320  (this is the default)
  234.   SET TERMINAL TYPE VT220
  235.   SET TERMINAL TYPE VT102
  236.   SET TERMINAL TYPE VT100